home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / t_bsd / 386bsd.faq < prev    next >
Text File  |  1996-06-25  |  52KB  |  1,278 lines

  1.  
  2.             Frequently Asked Questions
  3.                 386BSD 0.1
  4.  
  5.  
  6.                 EXTREMELY UNOFFICIAL
  7.  
  8.  
  9.                    Terry Lambert
  10.               terry_lambert@gateway.novell.com
  11.                terry@icarus.weber.edu
  12.  
  13.  
  14.                Last Update: 09 Aug 92
  15.                Version:    2
  16.  
  17.  
  18. 0.0    Organization
  19.  
  20.     This FAQ consists of five parts:
  21.  
  22.     0.*    Organization.
  23.     1.*    Overview.
  24.     2.*    Questions list (with accompanying personally or net derived
  25.             answers).
  26.     3.*    Acknowledgement (but not naming -- sorry) of Contributors.
  27.     4.*    Future of this FAQ.
  28.     5.*    Archivers, what they archive, how to submit and download.
  29.  
  30.  
  31. 1.0    Overview
  32.  
  33.     The 386BSD 0.1 operating system is a derivitive of the Berkeley
  34. Net/2 release.  The definitive "man without whom we would have nothing" in 
  35. this effort has been William Jolitz.  For more information, download the
  36. code.
  37.  
  38.     This FAQ is derived from mail to me (terry@icarus.weber.edu), which
  39. is a flaky mail link, and postings in the gorup comp.unix.bsd.  Some of the
  40. people quoted here were quoted without permission.  Anyone wanting to amend
  41. anything they have said should email me the *entire* ammended section (for
  42. instance, 2.08) including their changes.
  43.  
  44.     The information in this FAQ is current as of postings and mail
  45. received up to and including 02 Aug 92.
  46.  
  47.  
  48. 2.0    Questions list
  49.  
  50.     Here is an incomplete questions list (incomplete, because I do not
  51.     have answers for all of them).  This will probably dissapoint my
  52.     many fans, who no doubt consider me infallable 8-).  Items marked
  53.     with an asterisk ('*') are new or have been updated since the last
  54.     posting.  Numbering has been added to the questions list to aid in
  55.     finding things.
  56.  
  57.     01 Where can I find the distribution?
  58.     02 Where can I get the distribution on CD ROM?
  59.     03 Why shouldn't I download 386BSD from UUNET?
  60.     04 How do I get 386bsd 0.1 installed with "real" partitoning?
  61.        *05 How do I get a second disk running under 0.1?
  62.        *06 How can I fix the "flashing multicolored characters and
  63.         ptdi81061 prompt" error?
  64.     07 What is the highest baud rate supported?
  65.     08 SLIP is configured, but doesn't seem to work: what's wrong?
  66.        *09 The serial ports don't work on my machine; is it my UARTs?
  67.     10 I can install; why won't it boot of my hard drive?
  68.     11 How can I verify my checksums before I have 386bsd installed?
  69.     12 How can I make my tty driver not lock up?
  70.     13 Where are the commands "rpcinfo" and "rpcgen"?
  71.     14 Why don't the man pages for "magic" and "file" work?
  72.     15 Why is apropos broke?
  73.        *16 Where can I get a working "netstat"?
  74.     17 How can I fix NFS to work with my NE2000 board?
  75.     18 How do I add swap space?
  76.     19 Where can I get a kernel with second drive and second swap in it?
  77.     20 How do I make a device that can see my DOS partition?
  78.     21 How can I get "ps" to work?
  79.     22 How can I read tapes with multiple extents?
  80.     23 How do I get around the NFS "Permission denied" error?
  81.        *24 Some of my SCSI devices (like a tape) dont work; why?
  82.     25 The "mountd" hangs on exporting a file system subdirectory.
  83.     26 Are EISA cards supported?
  84.     27 Is microchannel (MCA, PS/2) supported?
  85.     28 How much disk space do I need?
  86.     29 How do I get rid of "startart" characters on my console?
  87.     30 I'm having trouble installing the binaries... why is that?
  88.     31 Where can I get X windows for 386BSD?
  89.     32 Where can I get (FTP) info on how to configure a kernel?
  90.     33 I get the error "isr 15 and error: isr 17" on an NE2000 card, OR
  91.         I have some card on IRQ2 and it dosn't work; why?
  92.     34 If I do a "pwd", my directory goes away.
  93.     35 I can't unpack etc01 becuse of "too many files open".
  94.        *36 Where is libcompat.a (for gtty, stty)?
  95.        *37 What's the current status of the kernel using gcc-2.2.2?
  96.        *38 What's the status of streams for 0.1?
  97.        *39 How do I make my streaming SCSI tape work?
  98.        *40 Tip gives "all ports used" message.
  99.        *41 SCSI controller/sense errors with DAT/varible block size tape.
  100.        *42 My Wangtek 5150EQ doesn't stream.
  101.        *43 The "shutdown -todos" command doesn't work.
  102.        *44 Making an HP Vectra work without a special boot disk.
  103.        *45 Tip gives a "no file or no lock" error.
  104.        *46 I get the error "newfs: /dev/rwd0a: can't rewrite disk label"
  105.         when I try to install 386BSD.
  106.        *47 Why can't I set up 386BSD as a router?
  107.        *48 What tape devices are compatable with 386BSD?
  108.        *49 Why do I have to type ^V twice in screen and elsewhere?
  109.        *50 I get blinking characters instead of highlight-- why?
  110.        *51 Where can I get a man page for ddb?
  111.        *52 Where can I get 386BSD on tape?
  112.  
  113.  
  114. 2.01    Where can I find the distribution?
  115.  
  116.     The following host sites are listed in the file DISTRIBUTION.HOSTS
  117.     in the 386/BSD distribution (bot name and address are provided):
  118.  
  119.         agate.berkeley.edu        128.32.136.1
  120.         gatekeeper.dec.com        16.1.0.2
  121.         MATH.ORST.EDU            128.193.16.60
  122.         UTKUX1.UTK.EDU            128.169.200.67
  123.         terminator.cc.umich.edu        141.211.164.8
  124.         nic.funet.fi            128.214.6.100
  125.         dsuvax.dsu.edu            138.247.32.2
  126.         altair.cis.ksu.edu        129.130.10.84
  127.         hpcsos.col.hp.com        15.255.240.16    *
  128.         math.niu.edu            131.156.3.4
  129.         sune.stacken.kth.se        130.237.234.42
  130.         raquel.doc.ic.ac.uk        146.169.11.3
  131.         rusmv1.rus.uni-stuttgart.de    129.69.1.12
  132.         HELIUM.CLUB.CC.CMU.EDU        128.2.55.10
  133.         banjo.concert.net        192.101.21.6
  134.         kirk.bu.oz.au            131.244.1.1
  135.         grand.central.org        192.54.226.100
  136.         pascal.math.fu-berlin.de    130.133.4.50
  137.         capella.eetech.mcgill.ca    132.206.1.17
  138.         ftp.ibr.cs.tu-bs.de        134.169.34.15
  139.         f.ms.uky.edu            128.163.128.6
  140.         azathoth.sura.net        128.167.254.184
  141.  
  142.     Notes:    *Internal HP sites only
  143.  
  144.     The code is also soon to be available, or perhaps already available,
  145.     from both CompuServe and BIX.
  146.  
  147.  
  148. 2.02    Where can I get the distribution on CD ROM?
  149.  
  150.     A company called "Yggdrasil Computing Infrastructure Corporation"
  151.     has posted (in the person of Adam J. Richter) the following:
  152.  
  153.     -----------------------------------------------------------------
  154.         I am considering selling the 386BSD 0.1 distribution on CDROM
  155.     through my company, Yggdrasil.  The distribution would run $100,
  156.     with $60 per CD donated to Lynne and Bill Jolitz, and would
  157.     include the following.
  158.  
  159.         o An ISO9660 level 2 CDROM with a copy of the 386BSD 0.1
  160.           distribution from agate and an unpacked directory tree
  161.           of the distribution,
  162.  
  163.         o Bootable installation diskettes in both 3.5" (1.44MB) and
  164.           5.25" (1.2MB) formats.  Each of these diskettes would have
  165.           a kernel capable of mounting an ISO9660 file system and
  166.           a script for installing from the CDROM.
  167.  
  168.         o Installation instructions.
  169.  
  170.         o An Yggdrasil "GNU World Order" T-shirt.
  171.  
  172.  
  173.         At Bill Jolitz's suggestion, I plan to wait for the first patch
  174.     for the early bugs, which should be out "very shortly."
  175.  
  176.         Please send me email if you have any comments or suggestions
  177.     about this idea or if you're sure that you'd buy a CD.
  178.     -----------------------------------------------------------------
  179.  
  180.     The posted email address is richter@nic.cerf.net (Adam J. Richter);
  181.     I would greatly encourage anyone interested in 386BSD who also has
  182.     a CD ROM drive to purchase this when it becomes available, and to
  183.     send Adam email so that he can get a distribution list going.  If
  184.     he's amenable to it, this distribution list should be used to
  185.     email future items, such as "software catalogs", etc.
  186.  
  187.  
  188. 2.03    Why shouldn't I download 386BSD from UUNET?
  189.  
  190.     1)    William Jolitz, the author doesn't want you to.
  191.     2)    UUNET has a policy against binaries, so you won't be able
  192.         to boot it if you do download it.
  193.  
  194.     William F. Jolitz writes:
  195.  
  196.     --------------------------------------------------------------------
  197.     "Do *not* obtain 386BSD from uunet!  BSDI is funded partially
  198.      from UUNET coffers, and those idiots still see 386BSD as a
  199.      rival to their hopes.
  200.  
  201.      As with other related situations, they have come up with
  202.      'plausibly deniable' reasons to not provide information that
  203.      they feel affects their competitive advantages."
  204.     --------------------------------------------------------------------
  205.  
  206.     'nuf said.
  207.  
  208.  
  209. 2.04    How do I get 386bsd 0.1 installed with "real" partitoning?
  210.  
  211.     This method also comes to us, as so much else does, by way of
  212.     Chris G. Demetriou.  The following is excerpted and edited from
  213.     a post by him on the matter:
  214.  
  215.     --------------------------------------------------------------------
  216.     HOW TO GET 386bsd 0.1 INSTALLED WITH "REAL" PARTITONING:
  217.  
  218.     (remember, if things don't work, they might be in places that aren't
  219.     normally looked in... things should work as below, but you might have
  220.     to use explicit paths occasionally... the 'better' stuff -- mount,
  221.     umount, cp, etc... is in /usr/distbin on the fixit floppy...  even
  222.     mknod is there, if the devices you need aren't on the fixit floppy...)
  223.  
  224.     (1) boot the fixit floppy
  225.     (2) disklabel the disk as appropriate
  226.     (3) newfs the partitions
  227.     (4) mount the new root partition under /mnt
  228.     (5) mkdir /mnt/usr
  229.     (6) mount the new /usr partition under /mnt/usr
  230.     (7) cpio directory-by-directory (recursively -- by hand!) the entire
  231.         contents of the fixit floppy to the hard drive
  232.  
  233.         you'll do something like:
  234.  
  235.         cd /
  236.         ls | cpio -pdalmu /mnt
  237.         cd /sbin
  238.         ls | cpio -pdalmu /mnt/sbin
  239.         cd /usr
  240.         ls | cpio -pdalmu /mnt/usr
  241.         cd /usr/bin
  242.         ls | cpio -pdalmu /mnt/usr/bin
  243.  
  244.         etc.  yes, it's tiring.
  245.  
  246.     (8) copy /usr/distbin/mount and /usr/distbin/umount to /mnt (so that
  247.         they'll be in the new root partition, so you can mount the
  248.         new /usr partition...)
  249.     (9) shutdown
  250.         and the eject the floppy.
  251.     (10) reboot off the hard drive, the fsck -p <root raw device>
  252.         If there are any errors, after the fsck is done, hit
  253.         ctl-alt-delete, and repeat this step.
  254.     (11) fsck -p <usr raw device>
  255.     (12) mount -u <root device> /
  256.     (13) mount <usr device> /usr
  257.     (14) insert 0.1 boot/install floppy (dist.fs) into floppy drive
  258.         and "mount /dev/fd0a /mnt"
  259.     (15) cd /mnt
  260.         and then
  261.         usr/bin/zcat etc/baselist.Z | usr/bin/cpio -pdalmu /
  262.     (16) cd /
  263.         and then
  264.     /mnt/usr/bin/zcat /mnt/etc/baseutils.cpio.Z | /mnt/usr/bin/cpio -idalmu
  265.     (17) umount /mnt    then eject the floppy
  266.     (18) umount /usr
  267.     (19) shutdown
  268.     (20) reboot off the hard drive, and get all of the various files (the
  269.         bindist files, srcdist files, etc...).
  270.         I put them into /usr/tmp, because there wasn't enough space
  271.         in /tmp (because it was on a small root partition...).
  272.     (21) cd / ; cat <all the binary files> | uncompress | cpio -idalmu
  273.     (22) rm <all the binary files>
  274.     (23) put your hostname into "/etc/myname" and put your ip addr/hostname
  275.         into /etc/hosts.
  276.     (24) make an fstab for yourself.  specifically, you want something like:
  277.         <root device name>    /    ufs rw 1 1
  278.         <usr device name>    /usr    ufs rw 1 2
  279.  
  280.     congrats.  you now have a working system!
  281.  
  282.     you can repeat step 21 for the srcdist and etcdist files, as well,
  283.     if you wish...
  284.  
  285.     If they don't work for you, sorry...
  286.  
  287.         Chris
  288.     --------------------------------------------------------------------
  289.  
  290.     If it doesn't work, I'll be sorry too, if it'll help.
  291.  
  292.  
  293. 2.05    How do I get a second disk running under 0.1?
  294.  
  295.     This is the result of the boot disk not auto-recognizing multiple
  296.     hard drives.  A very good fix to this, if you can recompile your
  297.     kernel without first needing a second drive, was posted as an
  298.     article by Christoph Robitschko.  The patch is available (or will
  299.     be soon) from agate.berkeley.edu.
  300.  
  301.     If you can't recompile due to a lack of disk space, or some other
  302.     overriding reason, a compile that has at least second drive support,
  303.     and second swap device support, is available from James Risner
  304.     (email risner@ms.uky.edu) and is also available by anonymous FTP
  305.     from f.ms.uky.edu:/pub2/386bsd-0.1/unofficial/second.drive.randy/*.
  306.  
  307.     I don't know if this work is based on Christoph's, or if it was
  308.     independantly developed; I also do not know if the sources are
  309.     available or not.
  310.  
  311.  
  312. 2.06    How can I fix the "flashing multicolored characters and
  313.         ptdi81061 prompt" error?
  314.  
  315.     This error is a major error, as far as I'm concerned, as it effects
  316.     the majority of the equipment that I have available to me.  It is
  317.     also present on the HP vectra.  I have a soloution that works on
  318.     AT&T 6386E/WGS, but I warn you, it's very dirty.
  319.  
  320.     The problem is that the code checking the return from the read of
  321.     the CMOS RAM value falls through in the case of an invalid value.
  322.     What really is needed is the non-existance "else" case for a bad
  323.     CMOS setup, which goes and probes memory to see it's size.  What
  324.     currently happens is that the code falls through, the Maxmem is set
  325.     to zero, and the maxmem and physmem are set to -1 (this is a bad
  326.     thing).
  327.  
  328.     To solve this, I wrote a program in (forgive me!) Turbo C to read
  329.     and write CMOS values, so that I could force the memory count to
  330.     the correct value.  For a machine with a base  memory of 640K, the
  331.     expected value in CMOS is 0280 (in bytes x16 and x15, respectively).
  332.     What the AT&T boxes and the HP vectra have here is 027f, so it falls
  333.     through to the default case and blows up.
  334.  
  335.     The quick and dirty workaround:  If you download dist.fs from
  336.     Chris G. Demetriou's upload on agate.berkeley.edu for the hard disk
  337.     boot problem (this MUST be dist.fs, and not one of the other dist.fs
  338.     files modified for Isolan or WD ethernet and named something else!),
  339.     you can use uzap (available for anon ftp from wuarchive.wustl.edu,
  340.     located at mirrors2/unix-c/editors/uzap.tar-z) to binary edit the
  341.     dist.fs at byte offset 946834; it should be changed from 81FE8002
  342.     to 81FE7F02.  This is the compare for 640K in the bogus code.  You
  343.     can look for the pattern 81FE8002 in the other *.fs files, including
  344.     fixit.fs, and change it there, if you MUST use one of them instead.
  345.  
  346.     I have uploaded a patched version of dist.fs, and this is also on
  347.     agate.berkeley.edu.
  348.  
  349.     It should be noted that, if you download uzap, you should "touch"
  350.     uzap.c, as otherwise, make will try to use lex to create it, and
  351.     will probably fail.  This is due to the tar extraction order from
  352.     the uzap tar archive.
  353.  
  354.  
  355. 2.07    What is the highest baud rate supported?
  356.  
  357.     The highes baud rate that is supported is 38400.  This is somewhat
  358.     a misnomer, however, since it implies that you will get "support"
  359.     if 386BSD fails to perform at this baud rate.  This is incorrect;
  360.     if it doesn't perform at 38400, try a lower baud rate.  No one is
  361.     going to commit to "fix it" for you based on a complaint.  If anyone
  362.     wants to write a faster driver, the canonical method of running
  363.     higher baud rates is to take one interrupt an poll like hell.  This
  364.     would probably impact performace pretty significantly.
  365.  
  366.     If you need more than 38400, you should consider an ehternet card.
  367.  
  368.  
  369. 2.08    SLIP is configured, but doesn't seem to work: what's wrong?
  370.  
  371.     Warren Toomey and Peter Cooper have together discovered the soloution
  372.     for this one.  Place a "nohup" on the command line in front of the
  373.     "slattach", like so:
  374.  
  375.         nohup slattach /dev/com2 9600
  376.  
  377.     The problem is apparently related to the idea of controlling tty.
  378.     The slattach should have /dev/com2 as it's controlling tty after
  379.     it has been run, and does not.  This causes slattach to shut down.
  380.     Understandably, this leads to another workaround: restart slattach
  381.     once you're up.
  382.  
  383.  
  384. 2.09    The serial ports don't work on my machine; is it my UARTs?
  385.  
  386.     It doesn't matter if you have old (8250) or new (16450) UART's in
  387.     your box.  Most likely, the problem is related to something living
  388.     at IRQ4 (if you are trying to use com1/com3) or IRQ3 (if com2/com4).
  389.     You should move the conflicting card to another interrupt, since, in
  390.     general, you won't beable to move the com card.  This is because
  391.     interrupt sharing requires either the interrupt line not being
  392.     current sinked (thus preventing other interrupts), or a *lot* of
  393.     fancy footwork and some very explicit knowledge of the cards
  394.     involved.  The first condition is not going to be met by most AT
  395.     bus (ISA) cards.  The second would require a general change in the
  396.     way com cards are made and nearly a driver per card.  DOS doesn't
  397.     have this problem because it'scom drivers in BIOS poll the cards for
  398.     input rather than being interrupt driven.  This is generally not a
  399.     good idea in a multiprocessing (say 386BSD) environment.
  400.  
  401.     A further note on this topic: if you want to run at a higher baud
  402.     rate, you should probably consider rewriting the driver, replacing
  403.     your 8250's with 16550's, or not running at the higher rate.
  404.  
  405.  
  406. 2.10    I can install; why won't it boot of my hard drive?
  407.  
  408.     In general, this will show up as a "bad disk label" error, and
  409.     can result in in not booting from the hard drive "most of the time".
  410.     You may be able to partially (or even completely) work around this
  411.     problem by making your machine run at a lower clock rate.
  412.  
  413.     This problem is the result of the kernel reading the wrong register
  414.     waiting for the drive controller to come ready.  On some controllers,
  415.     this isn't a problem; on others, it's fatal.
  416.  
  417.     The correct soloution is to use a patched "dist.fs" or "fixit.fs"
  418.     boot disk.  These have been provided by Chris G. Demetriou, and
  419.     are located on the machine agate.berkeley.edu in the directory
  420.     pub/386BSD/386bsd-0.1/unofficial/newbootables.cgd.  There are a
  421.     number of other bootables ther for WD8003 and Isolan ethernet cards,
  422.     since the probing for both can cause problems.
  423.  
  424.  
  425. 2.11    How can I verify my checksums before I have 386bsd installed?
  426.  
  427.     A "cksum" program for the 386BSD distribution which runs on
  428.     SVR4, and which can probably be easily modified to run elsewhere,
  429.     has been provided by Henry G. Juengst (whose email address is
  430.     juengst@boss1.physik.uni-bonn.de).  Henry states about his port:
  431.  
  432.  
  433.     --------------------------------------------------------------------
  434.     I found cksum in srcdist and compiled it. Some definition problems
  435.     had to be resolved (quick hack). DG/UX 5.4.1 is a System V R4. Now
  436.     I can begin to verify all files here (first check done) and use 386BSD
  437.     for education (for no money) in an astronomical observatory
  438.     (SNH, Erkrath/Germany) which is open for everybody.
  439.  
  440.     I hope this modified cksum will help anybody just to verify the
  441.     contributed files before moving them to anywhere. Use make.sh to
  442.     compile it. But have a look before you start. May be you have
  443.     to change _PROTO_ARGS in all *.c & *.h using
  444.     sed 's/_PROTO_ARGS/YOUR_PROTOTYPE_MACRO/g' file.c >file.new.c
  445.     (it was __P in the original source). If you are not sure you should
  446.     have a look into your /usr/include/stdio.h (for example).
  447.  
  448.     THIS IS NO PATCH FOR 386BSD !
  449.  
  450.     Henry
  451.  
  452.     Sorry, here should be the uuencoded .tar.Z file. But the nntp server
  453.     fails because out of disk space; 40 kbytes - mmmh. You can get it via
  454.     anonymous ftp from
  455.  
  456.     boss1.physik.uni-bonn.de:~ftp/pub/386bsd/cksum_dgux/cksum_dg.uue
  457.     [131.220.221.30]
  458.  
  459.     for the next two month. You won't waste your time if you have a look
  460.     into the other directories (e.g. ~ftp/pub/dcl) !
  461.  
  462.     If you don't have ftp access you can mail me. I will send it to you.
  463.     --------------------------------------------------------------------
  464.  
  465.     I'm sure that Henry's work will soon find its way to agate and other
  466.     canonical distribution sites.
  467.  
  468.  
  469. 2.12    How can I make my tty driver not lock up?
  470.  
  471.     1)    Don't use it (8-)).
  472.     2)    Apply Mark Eichin's (eichin@athena.mit.edu) patch for the
  473.         file tty_ring.c.
  474.         
  475.     Sorry, no binaries with this patch already installed.  Hopefully, it
  476.     will show up in the usual places soon.  Currently, the patch is
  477.     article 1930 of comp.unix.bsd.  You can get it form your favorite
  478.     news archive (mine is wuarchive.wustl.edu).
  479.  
  480. 2.13    Where are the commands "rpcinfo" and "rpcgen"?
  481.  
  482.     Chris Flatters (cflatter@nrao.edu) informs us in the following
  483.     posting except where we can find them:
  484.  
  485.     --------------------------------------------------------------------
  486.     The sources for the Sun OS 4.0 RPC are on titan.rice.edu (I don't have
  487.     the inet number handy) in directory sun-sources.  You will have to pick
  488.     up all the shell archives and unpack them to get at rpcgen.
  489.     --------------------------------------------------------------------
  490.  
  491.  
  492. 2.14    Why don't the man pages for "magic" and "file" work?
  493.  
  494.     James Jegers (jimj@miller.cs.uwm.edu) enlightens us:
  495.  
  496.     --------------------------------------------------------------------
  497.     The manual page for magic and file all have two dots
  498.     before the commands,  eg.    "..SH" it should be ".SH"
  499.     just delete one of the double dots in the whole file and then 
  500.     it will work.
  501.     --------------------------------------------------------------------
  502.  
  503.  
  504. 2.15    Why is apropos broke?
  505.  
  506.     Also from James Jegers:
  507.  
  508.     --------------------------------------------------------------------
  509.     The Makefile in /usr/othersrc/share/man/Makefile creates the
  510.     whatis.db.  The problem is that it doesn't strip the backspaces in
  511.     the title and apropos can't handle that.  So add a "col -b" to strip
  512.     those.
  513.  
  514.     exerpt from the makefile.
  515.  
  516.     makedb:
  517.        for file in `find /usr/share/man -type f -name '*.0' -print`; do \
  518.         sed -n -f /usr/share/man/makewhatis.sed $$file; \
  519.        done | col -b | sort -u > whatis.db
  520.        install -o ${BINOWN} -g ${BINGRP} -m 444 whatis.db \
  521.                   ${DESTDIR}/usr/share/man
  522.     --------------------------------------------------------------------
  523.  
  524.  
  525. 2.16    Where can I get a working "netstat"?
  526.  
  527.     Havard Eidnes (Havard.Eidnes@runit.sintef.no) has ported it for us:
  528.  
  529.     --------------------------------------------------------------------
  530.     Hi,
  531.  
  532.     I've ported netstat from NET2 to 386bsd version 0.1. The changes
  533.     are mostly involved with inserting #ifdefs for ISO, NS and IMP at
  534.     the relevant places ("removing" that code, essentially), not
  535.     compiling some of the modules (although the source remains together
  536.     with comments in the Makefile) plus modifying the "unixpr()" routine
  537.     in unix.c to traverse the open file table the new way.  The
  538.     "netstat -r" output looks a bit odd (although I guess this is the
  539.     "new way"?), but gives the right information.
  540.  
  541.     The source and binary is available with anonymous ftp from
  542.     ugle.unit.no (for lack of a better place) in the pub/unix/386bsd/
  543.     directory as netstat-bin.tar.Z and netstat-src.tar.Z.  Unpack the
  544.     source from /usr/src and the binary and formatted man page (as root)
  545.     from /.  Use binaries at own risk ;-)
  546.  
  547.     - Havard
  548.     --------------------------------------------------------------------
  549.  
  550.     This is also available from agate.berkeley.edu and it's mirror
  551.     sites.
  552.  
  553.     Hopefully, this will find it's way into the regular distribution.
  554.  
  555.  
  556. 2.17    How can I fix NFS to work with my NE2000 board?
  557.  
  558.     Ken Raeburn (raeburn@cambridge.cygnus.com) has both identified the
  559.     problem and provided us with a work around:
  560.  
  561.     --------------------------------------------------------------------
  562.     I reported previously that I was seeing problems reading files over
  563.     NFS using the ne2000 driver; timeouts would eventually be reported, no
  564.     data would be read.  Listing files and directories (small ones
  565.     anyways) were not a problem.
  566.  
  567.     After playing with etherfind and kernel printfs, I've come to this
  568.     conclusion: Fragmented 8K UDP packets from the NFS server are not
  569.     reaching the UDP layer in 386bsd.  The Sun is sending them (according
  570.     to another Sun spying on the network), but the UDP input routine is
  571.     never called.  I don't know if the bug here is on the 386bsd or Sun
  572.     side, and won't have time to look into it in the next couple of days.
  573.  
  574.     In the meantime, mounting NFS file systems with "rsize=1024" does get
  575.     rid of this problem.
  576.  
  577.     (It does nothing about TCP being slow, though.)
  578.     Ken
  579.     --------------------------------------------------------------------
  580.  
  581.     Hopefully, the real soloution (a UDP fix) will be forthcoming so
  582.     that the slow TCP problem is fixed as well.
  583.  
  584.  
  585. 2.18    How do I add swap space?
  586.  
  587.     William F. Jolitz fprovides the soloution to this problem himself,
  588.     by way of a reply to Randy Suess' question on the matter:
  589.  
  590.     --------------------------------------------------------------------
  591.     >To add swap space, the device needs to be compiled into the kernel
  592.     >in advance, even if you don't plan to use it. It reserves space in
  593.     >it's swap space map for this (so eventually it can interleave them).
  594.  
  595.     Ok, that did it.  Thanks.  I am now able to have the swap
  596.     partition on the second drive added with swapon. (at least
  597.     the command completes with no errors.  Any way to actually
  598.     see if the system knows about the second swap partition?)
  599.  
  600.     in /sys/compile/YOUR_SYSTEM_NAME/swap386bsd.c,
  601.     duplicate the makedev(0,1) line in the swdevt struct
  602.     and change the 1 to a 9.
  603.     --------------------------------------------------------------------
  604.  
  605.     The swdevt struct fix is Randy's, the quoted material Bill's.
  606.  
  607.  
  608. 2.19    Where can I get a kernel with second drive and second swap in it?
  609.  
  610.     As mentioned elsewhere, James Risner (risner@ms.uky.edu) has
  611.     provided at least binaries (I havent checked for sources yet):
  612.  
  613.     --------------------------------------------------------------------
  614.     A recompiled kernel with second drive support and second drive swap
  615.     support is available on
  616.     f.ms.uky.edu:/pub2/386bsd-0.1/unofficial/second.drive.randy/*
  617.     --------------------------------------------------------------------
  618.  
  619.  
  620. 2.20    How do I make a device that can see my DOS partition?
  621.  
  622.     The correct answer to this problem is "one /dev/wdXX per partition
  623.     and a DOSFS VFS module".  Barring that, the soloution provided by
  624.     Jim Paradis (paradis@sousa.ltn.dec.com) will have to do:
  625.  
  626.     --------------------------------------------------------------------
  627.     To build a devices.c file that lets you access the DOS partition, you
  628.     need to know the byte offset of the DOS partition from the start of
  629.     the hard disk.  You would then add an entry to the devices[] array
  630.     as follows:
  631.  
  632.     {'C', "/dev/wd0d", <byteoffset>L, 16, 0, (int (*) ()) 0, 0, 0, 0},
  633.  
  634.     So, f'rinstance, if your DOS partition starts at the beginning of
  635.     the disk, you'd have:
  636.  
  637.     {'C', "/dev/wd0d", 0L, 16, 0, (int (*) ()) 0, 0, 0, 0},
  638.  
  639.     On the other hand, if your DOS partition starts 32Mb into the disk,
  640.     you'd say something like:
  641.  
  642.     {'C', "/dev/wd0d", (32768L * 1024L), 16, 0, (int (*) ()) 0, 0, 0, 0},
  643.     --------------------------------------------------------------------
  644.  
  645.     Once I have my machine a happy camper, the second soloution should be
  646.     available shortly.
  647.  
  648.  
  649. 2.21    How can I get "ps" to work?
  650.  
  651.     Jim Paradis (paradis@sousa.ltn.dec.com) has given us a patch to
  652.     ./src/lib/libutil/kvm.c in article 2115 of comp.unix.bsd.  Get it
  653.     from your usenet archive, or the usualt FTP sites when it becomes
  654.     generally available.
  655.  
  656.  
  657. 2.22    How can I read tapes with multiple extents?
  658.  
  659.     With a no-rewind device.  Tore Haraldsen (toreh@bootes.sds.no) has
  660.     given us the information to make one:
  661.  
  662.     --------------------------------------------------------------------
  663.     It IS possible to read multiple file tapes, if you do the following
  664.     modifications to i386/isa/as.c:
  665.  
  666.     1) Change the definition of dev_rewind macro to use a mask outside the
  667.        other fields used by the scsi driver. Using the partition field for
  668.        no-rewind flags will not work, due to imprecise coding elsewhere in
  669.        the driver. Use 0100 for instance. Make a new kernel.
  670.  
  671.     2) Create a device with this capability:
  672.             mknod /dev/nras2a c 13 80
  673.  
  674.        The last number, 80 = 16 (=minor device number for as2) + 64
  675.        (decimal representation of 0100).
  676.  
  677.     3) When using the tape device for the first time, do some sort of dummy
  678.        access to it: tar a cpio tape or vice versa. There seems to be some
  679.        sort of race condition otherwise that will otherwise give you the
  680.        unwanted rewind.
  681.  
  682.     4) Good luck. This is just a hack, somebody compentent will have to
  683.        rewrite the whole damn thing...
  684.  
  685.     -- Tore Haraldsen
  686.     --------------------------------------------------------------------
  687.  
  688.  
  689. 2.23    How do I get around the NFS "Permission denied" error?
  690.  
  691.     The problem is not the configuration of the server (unless there is
  692.     no real requirement to run it in "secure" mode, and you happen to
  693.     be running it that way anyway).  The problem is the fact that,
  694.     even though mount request are sent on a priveledged port, NFS
  695.     connections are not.  This is part of secure NFS, and is not
  696.     supported in 386BSD.
  697.     
  698.     There is a patch to cause NFS to use a secure port in 386BSD 0.1
  699.     -- unfortunately, I don't have references for it.  It did appear
  700.     as a postisting, somewhere between article 1600 and 2100 (I know,
  701.     big help).
  702.  
  703.  
  704. 2.24    Some of my SCSI devices (like a tape) dont work; why?
  705.  
  706.     This 
  707.     Gary Ward (gpw10@phoenixcd.amdahl.com) has seemingly discovered
  708.     that the SCSI driver likes devices to start at 0 and work their
  709.     way up.  That means that you should put your first device at
  710.     LUN 0, the second at LUN 1, and so on.  The typical arrangement
  711.     of disks at 0 and 1, and a tape at 4 will cause the tape to
  712.     not be recognized.  Change this to disks at 0 and 1 ans the tape
  713.     at 2, and voila! the tape is suddenly there.
  714.  
  715.  
  716. 2.25    The "mountd" hangs on exporting a file system subdirectory.
  717.  
  718.     This is because of a bug in mountd itself, as identified by Roe
  719.     Peterson (roe@Unibase.SK.CA).  As yet, there is not a fixed
  720.     binary available, so you will have to make the change and compile
  721.     it yourself.  The change, as posted by Roe, is as follows:
  722.  
  723.     --------------------------------------------------------------------
  724.     Found a little bug in mountd:  If /etc/exports contained:
  725.  
  726.         /usr/src -root=0
  727.  
  728.     And /usr was not a file system unto itself, mountd went into an
  729.     infinite loop and stayed there.
  730.  
  731.     The fix:  in /usr/src/sbin/mountd/mountd.c, line 592 reads:
  732.         while (*cp == '/' && cp > ep->ex_dirp)
  733.     and should read:
  734.         while (*(cp-1) == '/' && cp > ep->ex_dirp)
  735.     --------------------------------------------------------------------
  736.  
  737.  
  738. 2.26    Are EISA cards supported?
  739.  
  740.     No, EISA cards are not directly support; however several, especially
  741.     Adaptek SCSI controllers will work in ISA mode.  When and if EISA
  742.     is directly supported, they will give a significant performance
  743.     advantage to EISA bus machines.  Until then, there is nothing that
  744.     is intrinsically better about owning an EISA bus machine.
  745.  
  746.  
  747. 2.27    Is microchannel (MCA, PS/2) supported?
  748.  
  749.     No.  Like EISA, this is unsupported currently; unlike EISA, it can't
  750.     work anyway until it is supported, as it doesn't fall back to ISA
  751.     operation.  If you want to work on this problem, I'm sure that
  752.     many people will appreciate it; you will probably need an ISA or
  753.     EISA machine to do the work, however.
  754.  
  755.  
  756. 2.28    How much disk space do I need?
  757.  
  758.     The following is culled down from the INSTALL.NOTES file of the
  759.     distribution:
  760.  
  761.     Binary only:    49 M (30 disk, 5 swap, 14 extraction)
  762.     Source:        125 M (49 bin, 37 disk, +6 extraction, 25 recompile)
  763.     User software:    +51 M
  764.  
  765.     Everything plus files from recompilation is 176 M with no space left
  766.     over.
  767.  
  768.     I personally recommend at least 20-60 M of empty space for room to
  769.     grow, build your own software, keep patches, read news, etc.  Call
  770.     it around 200 M for a full distribution you can rebuild from scratch
  771.     and as a general usable system.
  772.  
  773.     If you are binary only, call it 70-160 M, depending on the space you
  774.     want left over, and whether you load the additional user software.
  775.  
  776.     Add more space for X windows, additional swap, or anything else you
  777.     want to use disk for.  I find that I'm comfortable in 300 M with the
  778.     developement work I'm doing.
  779.  
  780.     NB:  Given the recent proliferation of postings for "multiple drive"
  781.     kernels, it's always possible to "start small" and expand later, if
  782.     you need to.  You can also NFS mount disk space from another machine
  783.     if you have networking installed, in which case you only need the
  784.     space required for the binary distribution, no mater what you want
  785.     to do.
  786.  
  787.  
  788. 2.29    How do I get rid of "startart" characters on my console?
  789.  
  790.     This has been a rather highly reported problem.  Ken Raeburn reports
  791.     that simply rebuilding the kernel from the supplied sources will
  792.     get rid of it.  Others have reported that moving the ethernet card
  793.     to another IRQ also seems to sovle the problem.
  794.  
  795.  
  796. 2.30    I'm having trouble installing the binaries... why is that?
  797.  
  798.     .
  799. 2.31    Where can I get X windows for 386BSD?
  800.  
  801.     The writer of the X for 386BSD FAQ, Amancio Hasty Jr. (email at
  802.     hasty@netcom.com) says:
  803.  
  804.     --------------------------------------------------------------------
  805.     "Patches and binaries for X11R5 patch level 13 and X386-1.2E version
  806.      1.0.1 are available by anon ftp from agate.berkeley.edu and
  807.      banjo.concert.net in /pub/386BSD/0.1-ports/X386 and from
  808.      nova.cc.purdue.edu in /pub/386bsd/submissions.  The file
  809.      386BSD.X386-1.2E.diff contains contex diffs against X386-1.2E-1.0.1
  810.      and 386BSD.X386-1.2E.bin.tar.Z contains the binaries for 386BSD.
  811.  
  812.      The binaries are 61Mb when extracted.  See the file INSTALL for
  813.      further info. Files in usr/lib/X11/etc contain information on how
  814.      to construct a required Xconfig file for your graphics card and
  815.      monitor.
  816.  
  817.      In order to run the server, you will need either the supplied
  818.      patched GENERICISA kernel binary or you will need to patch two
  819.      kernel source files: pccons.c and locore.s.  Since these patches
  820.      are unofficial, we suggest you copy them to /sys/compile/...,
  821.      where the kernel is compiled and patch them there.  The patch for
  822.      /usr/include/stdlib.h is not needed unless you are rebuilding X
  823.      from sources.
  824.  
  825.      The X server uses both Glenn Lai's `SpeedUp' optimizations for
  826.      ET4000 based SVGA and Jim Tsillas' generic `fX386' optimizations.
  827.      Unfortunately, this release does not support the TRIDENT chipset,
  828.      although a working port would be very welcome.  The server binary
  829.      was created with PEX support and compiled with both -O and -g, so
  830.      although it is optimized for speed you can still get detailed
  831.      debugging info if needed.  Use `strip' on /usr/bin/X11/X386 if
  832.      you aren't interested in debugging.
  833.  
  834.      To rebuild the binaries you will need 175Mb of disk, mit X11R5,
  835.      fixes 1-13 and X386-1.2E-1.0.1 and these patches.  On
  836.      export.lcs.mit.edu the files are: /pub/R5/mit-*/mit-*,
  837.      /pub/R5/fixes/fix-01 through 13, and
  838.      /contrib/X386-1.2E/X386-1.2E-1.0.1.diff.  Apply mit's fixes,
  839.      then X386-1.2E-1.0.1, then these for 386BSD.  The files
  840.      mit/RELNOTES.TXT and mit/server/ddx/x386/README.X386-1.2E contain
  841.      information on how to configure and build the distribution."
  842.     --------------------------------------------------------------------
  843.  
  844.  
  845. 2.32    Where can I get (FTP) info on how to configure a kernel?
  846.  
  847.     One of the more frequent questions asked recently is "how do I
  848.     rebuild the kernel?"  Another, only slightly less frequently asked,
  849.     is "now that I've rebuilt the kernel, what do I do with it?"  The
  850.     answers to both questions have been provided by Richard Murphey
  851.     (email address rich@Rice.edu).  Thank you, Rich, for the following
  852.     information:
  853.  
  854.     --------------------------------------------------------------------
  855.  
  856.     Ready-to-print PostScript files for each section of the net2 system
  857.     maintainer's manual are on nova.cc.purdue.edu in
  858.     pub/386bsd/submissions/bsd.manuals.
  859.  
  860.     smm.02.config.ps.Z describes kernel configuration for the vax, however
  861.     some of it is relevant to 386BSD.  There is no freely available
  862.     rewrite for 386BSD that I know of.
  863.  
  864.     More specificly, for /dev/com2 you might look at the MAKEDEV script
  865.     which is generated when you configure the kernel.  Ideally, it should
  866.     have a mknod command with the appropriate numbers for each device.
  867.     Rich
  868.     --------------------------------------------------------------------
  869.  
  870.  
  871. 2.33    I get the error "isr 15 and error: isr 17" on an NE2000 card, OR
  872.         I have some card on IRQ2 and it dosn't work; why?
  873.     
  874.  
  875.     James Van Artsdalen (email at james@bigtex.cactus.org) has given
  876.     us the answer:
  877.  
  878.     --------------------------------------------------------------------
  879.     Some VGA cards use IRQ 2 for a vertical retrace interrupt.  Even when
  880.     the interrupt is not enabled in the VGA, some cards drive IRQ 2
  881.     inactive instead of leaving the signal tristate.
  882.  
  883.     If this is the problem, you can use Scotch tape to cover the IRQ 2
  884.     signal on the VGA's ISA connector.
  885.     --------------------------------------------------------------------
  886.  
  887.     There has been some discussion as to whether scoth tape is really
  888.     appropriate inside a card slot.  My answer would be "yes".  This is
  889.     because the alternate soloution of cutting the trace on the video
  890.     board seems, to my mind, to reduce the value of the board.  It is
  891.     possible that, in the future, with a bi-partite driver, you would
  892.     want to catch the retrace interrupt to get rid of "sparklies" or to
  893.     implement a driver for a very high resoloution monitor for X.  In
  894.     this happens, given a choice between alcohol and solder, I vote for
  895.     alcohol.
  896.  
  897.     An alternate soloution would be to remove your ethernet card until
  898.     you have rebuilt the kernel so that it expects it at an interrupt
  899.     other than 2, rejumper it, and reinstall it.  This gets around both
  900.     the tape and exacto knife soloutions, plus you don't have to know
  901.     which pin is IRQ2 (something you need a techincal reference for
  902.     the bus to find out).
  903.  
  904.  
  905. 2.34    If I do a "pwd", my directory goes away.
  906.  
  907.     There is a bug in "pwd".  This problem also shows in other programs,
  908.     but is seen most in "pwd".  At the shell prompt, type a control-C
  909.     (^C, interrput).  This will make the shell "come back".
  910.  
  911.     Some people have suggested using bash (GNU's "Born Again SHell") as
  912.     a replacement to fix this problem.  *THIS DOES NOT WORK, AND WILL
  913.     RESULT IN YOUR MACHINE HANGING IN BOOT OR AN "init failed" MESSAGE!*.
  914.     Once you have your shell up, you can exec bash without a problem.
  915.     Wait until the shell is up to do this, however.
  916.  
  917.  
  918. 2.35    I can't unpack etc01 becuse of "too many files open".
  919.  
  920.     The "too many files open" is a result of the "cat" command leaving
  921.     files open after it has read a file.  Hopefully, this will be fixed
  922.     soon.  In the mean time, Dwight E. Cass (email address at
  923.     dec@lazarus.nrtc.northrop.com) has provided us with this enecdotal
  924.     work around for his own experiences:
  925.  
  926.     --------------------------------------------------------------------
  927.     So - back to installation.  This time, when I get to the etc01
  928.     partition, I am a bit more awake, so I run it from csh (with the
  929.     open file limit at 256).  Works pretty well - but complains at the end
  930.     that it could not do the final configuration because it could not find
  931.     the configuration file - I checked the MANIFEST and the file is not
  932.     there, so I finally decided to ignore the message (but it was
  933.     bothersome!)  Once etc01 was done - source was easy ... and I am now
  934.     up and running, and quite impressed!!!
  935.     --------------------------------------------------------------------
  936.  
  937.     The moral:  Use csh! 8-).
  938.  
  939.  
  940. 2.36    Where is libcompat.a (for gtty, stty)?
  941.  
  942.     There is no such thing as a libcompat.a library.  Remove the -l line;
  943.     it's that simple.
  944.  
  945.     For gtty and stty, add the following lines to a header file (like
  946.     termios.h):
  947.  
  948.     #define gtty(fd, argp) ioctl(fd, TIOCGETP, argp)
  949.     #define stty(fd, argp) ioctl(fd, TIOCSETP, argp)
  950.  
  951.  
  952. 2.37    What's the current status of the kernel using gcc-2.2.2?
  953.  
  954.     Current status from a posting by one James Van Artsdalen
  955.     (james@raid.dell.com):
  956.  
  957.     "Change in ../../i386/*/npx.c the lines it complains about to
  958.      use 'X' instead of 'g' ('m' will fail in some cases).  There is
  959.      a failure problem is in machdep.o.  The kernel being larger is
  960.      probably due to large constant multiplies (gcc will use a sequence
  961.      of shifts and adds instead of a multiply opcode), loop alignment
  962.      on 32 bit boundaries, and poor handling of bit tests in some cases."
  963.  
  964.  
  965. 2.38    What's the status of streams for 0.1?
  966.  
  967.     According to Bill himself:
  968.  
  969.     "There is work underway on a streams-like mechanism for 386BSD
  970.      called CURRENTS.
  971.  
  972.      Among other things, CURRENTS manages to allow for both sockets
  973.      and TLI or mixtures of both. It is heavily object-oriented, and
  974.      manages to allow for very small new streams protocol modules to
  975.      be written and added. It manages to do most of it's processing
  976.      in the put routines, implements flow control in a novel fashion,
  977.      and avoids unecessary context switching.
  978.  
  979.      CURRENTS must almost certainly be incompatible with USL's streams
  980.      within the kernel, and obviously won't implement the existing
  981.      streams drivers. However, it won't suffer from the drawbacks of
  982.      STREAMS/TLI either. 
  983.  
  984.      We are walking on brand new ground with this, and if you are
  985.      extrodinarily experienced in this area, and have the time,
  986.      dedication, and guts for this, please get in touch with us."
  987.  
  988.  
  989. 2.39    How do I make my streaming SCSI tape work?
  990.  
  991.     Generally, the driver provided will work simply by setting large
  992.     enough blocking factor.
  993.  
  994. 2.40    Tip gives "all ports used" message.
  995.  
  996.     The messages "lock: open:" and "all ports used" show when you try to
  997.     "tip com1" per the install notes.
  998.  
  999.     A recompile of the tip software will fix this problem.  Cause is
  1000.     unknown.
  1001.  
  1002. 2.41    SCSI controller/sense errors with DAT/varible block size tape.
  1003.  
  1004.     Thanks to Scott Burris (scott@pita.cns.ucla.edu) for the fix for
  1005.     this one:
  1006.  
  1007.     "The SCSI driver is broken for variable length tape devices.  The
  1008.      problem is that the data transfer length is computed by code which
  1009.      assumes a fixed block tape drive.  This causes the computer to
  1010.      transfer less data than the SCSI transaction calls for, which hangs
  1011.      the SCSI bus.  Context diff's follow.  
  1012.  
  1013.  
  1014. ---------------------------------------------------------------------------
  1015. *** as.c    Sun Jul 19 08:15:02 1992
  1016. --- as.c.orig    Sat Jul 18 20:10:32 1992
  1017. ***************
  1018. *** 899,906 ****
  1019.     n = 0;
  1020.     sp = as->scatter_list;
  1021.     nscatter = 0;
  1022. -     if (as->tape && as->bs == 1)
  1023. -         total = bp->b_bcount;
  1024.     while (n < total && nscatter < NSCATTER) {
  1025.         thistime = page_size - ((vm_offset_t)p - trunc_page (p));
  1026.   
  1027. --- 889,894 ----
  1028. --
  1029. ---------------------------------------------------------------------------
  1030.  
  1031. 2.42    My Wangtek 5150EQ doesn't stream.
  1032.  
  1033.     Enable buffered mode on the 5150ES. You can either set the jumper
  1034.     or use the SCSI command to enable it.
  1035.  
  1036.  
  1037. 2.43    The "shutdown -todos" command doesn't work.
  1038.  
  1039.     There are two flavors of this problem.  The first is if your path
  1040.     is set so that you are using the wrong "shutdown" command.
  1041.  
  1042.     The second is that it gives the message "can not make DOS partition
  1043.     bootable".  This will not work if your partition is larger than about
  1044.     30K (the point at which DOS will use a 16 bit FAT).  Apparently, it
  1045.     will only work with 8 bit FATs, so if it is possible, use a smaller
  1046.     DOS partition, or several smaller partitions instea of one large one.
  1047.  
  1048.  
  1049. 2.44    Making an HP Vectra work without a special boot disk.
  1050.  
  1051.     Thanks to Alan Yang (ayang@pollux.svale.hp.com)!  The incantation is:
  1052.  
  1053.     "For those of you are using HP VECTRA QS/RS model, you probably have
  1054.      observed the 'flashing multicolored characters and ptdi81061 prompt'
  1055.      error.  The cause for that had been described in the FAQ posting.
  1056.      The way that you can get around with the problem is by doing:
  1057.  
  1058.      1.    Run setup, and type 'yada' at the Enter option number and
  1059.         'press <ENTER>:' prompt .
  1060.      2.    Select 1 from next menu to turn off the EX_BIOS and HIL_BIOS.
  1061.      3.    Exit after that.
  1062.  
  1063.      HP Vectra QS/RS system is using 4k memory for EX_BIOS and HP HIL
  1064.      bios at the bottom of 640K.  By doing the above, you are turning
  1065.      off the bios and the system gives you back the 4k memory which
  1066.      allows the 386bsd0.1 to boot and install successfully without any
  1067.      patches."
  1068.  
  1069.  
  1070. 2.45    Tip gives a "no file or no lock" error.
  1071.  
  1072.     As distributed, the directory '/var/spool/lock' is owned by root and
  1073.     tip is SUID uucp.  The fix is to do the following:
  1074.  
  1075.         chown uucp /var/spool/lock
  1076.         chown uucp /var/log/aculog
  1077.  
  1078.  
  1079. 2.46    I get the error "newfs: /dev/rwd0a: can't rewrite disk label" when
  1080.     I try to install 386BSD.
  1081.  
  1082.     -------------------------------------------------------------------
  1083.     The soloution, from Holger Veit (veit@du9ds3.uni-duisburg.de) is:
  1084.  
  1085.     "Your A5 partition *MUST* start at a cylinder boundary.  This will
  1086.      be done automatically if you prepare the partition by FDISK and 
  1087.      change the ID to A5.  NEWFS does not like to start at a
  1088.      non-cylinder boundary and does not find the location to store the
  1089.      disk label.  I think this is not a bug, but a vital feature, so
  1090.      don't patch the newfs source to get the remaining 238 sectors
  1091.      (they won't save your life)."
  1092.     -------------------------------------------------------------------
  1093.  
  1094.     If you change your partition offset to an even cylinder boundry, or
  1095.     use "OnTrack" or some other DOS utility capable of setting up A5
  1096.     partitions, the problem will go away.
  1097.  
  1098.  
  1099. 2.47    Why can't I set up 386BSD as a router?
  1100.  
  1101.     You can, but it takes some hacking.  It is currently there, but has
  1102.     been "hard wired" off.  Ronald Khoo (ronald@gate.demon.co.uk) tells
  1103.     us why:
  1104.  
  1105.     "Quoting Bill: 'By default, BSD system's *DON'T* act as routers,
  1106.      primarily for network security reasons."
  1107.  
  1108.      The reasons are specified in RFC 1122 HOST REQUIREMENTS.  Please
  1109.      do NOT change the default behaviour.  This is REQUIRED.  I quote:
  1110.  
  1111.      [ from RFC 1122 3.1 INTRODUCTION ]
  1112.  
  1113.      [ ... ] Any host that forwards datagrams generated by another host is
  1114.      acting as a gateway and MUST also meet the specifications laid out
  1115.      in the gateway requirements RFC [INTRO:2].  An Internet host that
  1116.      includes embedded gateway code MUST have a configuration switch to
  1117.      disable the gateway function, and this switch MUST default to the
  1118.      non-gateway mode. [ ... ]"
  1119.  
  1120.  
  1121. 2.48    What tape devices are compatable with 386BSD?
  1122.  
  1123.     Per Fred Walter's request, here's the list:
  1124.  
  1125.         Wangtek 5099EN
  1126.         Wangtek 5150EQ
  1127.  
  1128.  
  1129. 2.49    Why do I have to type ^V twice in screen and elsewhere?
  1130.  
  1131.     This is a tricky problem involving 386BSD's slightly different
  1132.     interpretation of the POSIX standard.  The following was posted
  1133.     by Christoph by way of explanation:
  1134.  
  1135.     "From 'Portable Operating System Interface (POSIX) Part 1:
  1136.      System Application Program Interface (API) [C Language]' ('IEEE
  1137.      Std 1003.1 - 1990'), Chapter 7.1.2.4:
  1138.  
  1139.      # If IEXTEN is set,implementation-defined functions shall be
  1140.      # recognized from the input data. It is implementation defined
  1141.      # how IEXTEN being set interacts with ICANON, ISIG, IXON, or
  1142.      # IXOFF. If IEXTEN is not set, then implementation-defined
  1143.      # functions shall not be recognized, and the corresponding input
  1144.      # characters shall be processed as described for ICANON, ISIG,
  1145.      # IXON, or IXOFF."
  1146.  
  1147.     Basically, it boils down to this: "386BSD handles IEXTEN differently
  1148.     from most Berkeley implementations with which we are familiar.  The
  1149.     fix is to take applications (like screen) and unset IEXTEN when the
  1150.     ICANNON is unset, and to reset it to it's previous value otherwise.
  1151.     In 386BSD's opinion, the extensions to input processing do not fall
  1152.     into the category of "canonical processing".  It has been suggested
  1153.     that this will help find "errors" in programs before they occur on
  1154.     on other systems that take the same view as 386BSD.  Unfortunately,
  1155.     I have to disagree, since this means 386BSD does not follow the
  1156.     "least astonishment" rule.  Hopefully, IEXTEN will be saved across
  1157.     unsetting/setting ICANNON in a future release.
  1158.  
  1159.  
  1160. 2.50    I get blinking characters instead of highlight-- why?
  1161.  
  1162.     This has to do with whether or not register 2 is correctly set up
  1163.     on your video controller (bit 4 or bit 5, if I remember correctly).
  1164.     Most video adapters which emulate the register set will not do so
  1165.     unless jumpered for "extended VGA" or something similar.  ATI's
  1166.     EGA Wonder has this problem.  Check out the "IBM Techinal Reference
  1167.     Manual", the section on the CGA card.  The register controls whether
  1168.     the high bit of the Background color nibble is the "highlight color
  1169.     bit" or the "blink bit".
  1170.  
  1171.  
  1172. 2.51    Where can I get a man page for ddb?
  1173.  
  1174.     The mach ddb man page is available by anonymous FTP from
  1175.     ernst.mach.cs.cmu.edu:src/src/mk/kernel/man/ddb.man
  1176.  
  1177.  
  1178. 2.52    Where can I get 386BSD on tape?
  1179.  
  1180.     Paul A Vixie (vixie@pa.dec.com) has volunteered (I think he is about
  1181.     to regret it!):
  1182.  
  1183.     "I'll make tapes for anybody, and I've got a TK50(95MB) to do it
  1184.      with.  I've also got 8MM(2GB or 5GB), 4MM(1GB RDAT), TK70(295MB),
  1185.      QIC(60MB, 150MB, and 525MB), and 9-track(1600 or 6250).
  1186.  
  1187.      Terms are as follows: send me a tape and a stamped, self-addressed
  1188.      return mailer (I will NOT reuse the mailer you use to get it to me
  1189.      and I will NOT lick any stamps for you).  Somewhere on the tape
  1190.      write "386BSD 0.1".  Do not include any notes, money, or special
  1191.      requests.  Tapes arriving that deviate from those terms in any
  1192.      way are mine to keep with no notice to you.
  1193.      
  1194.      Mail all this junk to:
  1195.      
  1196.         Paul Vixie
  1197.         3477 South Court
  1198.         Palo Alto, CA, 94306"
  1199.  
  1200.     Paul:  I suggest you retract the "no money" clause 8-).
  1201.  
  1202.  
  1203. 3.0    Contributors
  1204.  
  1205.     I have tried to give credit to the contributors, where possible, in
  1206.     the text of this FAQ.  Some of this was transcribed from memory from
  1207.     postings seen more than a week ago, so if I have used a soloution
  1208.     for which you feel you should have received credit, and didn't, I'm
  1209.     sorry.
  1210.  
  1211.     Most of this information has been culled over the last few weeks of
  1212.     postings to usenet, so it is by no means complete.
  1213.  
  1214.  
  1215. 4.0    The future
  1216.  
  1217.     This is an unofficial FAQ.  I have created and posted it as an interim
  1218.     soloution until an officially sanctioned FAQ can be arrived at by
  1219.     someone-better-equiped-but-currently-too-busy-to-do-anything-about-it.
  1220.     Since this is the second revision, I'll assume that I am now elected
  1221.     as the official unoficcial FAQ keeper (a dubious honor).
  1222.  
  1223.     This FAQ does not represent an official position by William Jolitz
  1224.     or any of the other people quoted, without their permission, in it,
  1225.     and should not be considered as such.
  1226.  
  1227.     Any misrepresentations of attitudes or views of individual (and
  1228.     unwitting) contributors are due to my poor editorial skills.
  1229.  
  1230.  
  1231. 5.0    Archivers
  1232.  
  1233.     There are several archival projects taking place currently.  The
  1234.     following is a list of them, and where new information may be sent,
  1235.     and the locations that the gathered information may be retrieved
  1236.     from:
  1237.  
  1238.  
  1239.     NAME:        DISKTAB ARCHIVE
  1240.     ARCHIVER:    CHRIS G. DEMETRIOU
  1241.     EMAIL:        cgd@agate.berkeley.edu
  1242.     UPLOAD:        Email
  1243.     DOWNLOAD:    Anonymous FTP at agate.berkeley.edu
  1244.     COMMENTS:    If you've got a wierd type of disk, and installed
  1245.             386bsd on your whole disk, SEND ME YOUR DISKTAB!
  1246.             I'm collecting them... but please don't send ones
  1247.             created solely by the install program; I don't want
  1248.             to have to deal with partition tables munged for DOS,
  1249.             nor with broken ones which have no "/usr".
  1250.             [NOTE: Given the following, I suspect that Chris
  1251.              would want DISKTAB, in all caps, in the subject
  1252.              line for any disktab entries you send him.]
  1253.  
  1254.  
  1255.     NAME:        PATCH ARCHIVE
  1256.     ARCHIVER:    CHRIS G. DEMETRIOU
  1257.     EMAIL:        cgd@agate.berkeley.edu
  1258.     UPLOAD:        Email, Anonymous FTP at agate.berkeley.edu
  1259.     DOWNLOAD:    Anonymous FTP at agate.berkeley.edu
  1260.     COMMENTS:    Have you made a patch, etc. for 386bsd 0.1?  If so:
  1261.             Please send it to me.  For files of moderate size,
  1262.             please uuencode and send them to me, (or, you can
  1263.             just "mail" the diff output, etc.)  For large things,
  1264.             please put them up in ~ftp/pub/incoming on
  1265.             agate.berkeley.edu and send me mail about it.  I'd
  1266.             appreciate it if the mail were titled (minimally)
  1267.             PATCHES or IN INCOMING (all caps for that part,
  1268.             please), and gave a description of what you're
  1269.             sending/have put up.  If you put some stuff up
  1270.             elsewhere on the net (boot disks, etc), please put
  1271.             them in incoming as well, and send mail -- I spend
  1272.             several hours per day answering 386bsd mail alone,
  1273.             and i'm a full time student, with a part time job
  1274.             (*NOT* doing this -- read, i don't have much time...)
  1275.  
  1276.  
  1277. 6.0    END-OF-FAQ
  1278.